package com.school.sports.service.Impl;

import com.school.sports.entity.RefereeAssignment;
import com.school.sports.mapper.RefereeAssignmentMapper;
import com.school.sports.service.RefereeAssignmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RefereeAssignmentServiceImpl implements RefereeAssignmentService {

    @Autowired
    private RefereeAssignmentMapper refereeAssignmentMapper;


    @Override
    public RefereeAssignment getRefereeAssignmentById(Long id) {
        return refereeAssignmentMapper.findById(id);
    }
}
